A group in a grouping view.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)

Syntax

C#
[DebuggerDisplayAttribute("\{ Count= {Count}, Key= {Key} \}")]
public sealed class GroupView<TKey, TElement> : View<TElement>, 
	IEnumerable, IEnumerable<TElement>, IGrouping<TKey, TElement>
Visual Basic
<DebuggerDisplayAttribute("\{ Count= {Count}, Key= {Key} \}")> _
Public NotInheritable Class GroupView(Of TKey, TElement) _
	Inherits View(Of TElement) _
	Implements IEnumerable, IEnumerable(Of TElement),  _
	IGrouping(Of TKey, TElement)

Type Parameters

TKey
The type of the key used for grouping.
TElement
The type of the elements in the group view.

Remarks

A grouping view is a result of a GroupBy operation on a live view. It is a collection of groups. Each group contains elements with the same key. That collection is a live view, and every group in itself is a live view, an object of type GroupView<TKey, TElement>.

Inheritance Hierarchy

System..::..Object
  C1.LiveLinq.LiveViews..::..View
    C1.LiveLinq.LiveViews..::..View<(Of <(<'TElement>)>)>
      C1.LiveLinq.LiveViews..::..GroupView<(Of <(<'TKey, TElement>)>)>

See Also